

using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using JYJ.AiYard.StationManagement.TvDigitalPay;

namespace JYJ.AiYard.EntityMapper.TvDigitalPays
{
    public class TvDigitalPayCfg : IEntityTypeConfiguration<TvDigitalPay>
    {
        public void Configure(EntityTypeBuilder<TvDigitalPay> builder)
        {

            builder.ToTable("tV_DIGITALPAY", YoYoAbpefCoreConsts.SchemaNames.Dbo);


            builder.Property(a => a.Station_Id).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
            builder.Property(a => a.Station_Name).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
            builder.Property(a => a.BillNo).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
            builder.Property(a => a.Title).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length2000);
            builder.Property(a => a.Memo).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length2000);
            builder.Property(a => a.UpuserId).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
            builder.Property(a => a.UpTime).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
            builder.Property(a => a.UpuserTrueName).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
            builder.Property(a => a.UpuserName).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);

            builder.Property(a => a.plateColor).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
            builder.Property(a => a.plateNo).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
            builder.Property(a => a.owner).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length2000);
            builder.Property(a => a.outTime).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
            builder.Property(a => a.outGate).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
            builder.Property(a => a.inGate).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
            builder.Property(a => a.inTime).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
            builder.Property(a => a.Amout).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);

            builder.Property(a => a.digitalYuan).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
            builder.Property(a => a.digitalgmtTime).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
            builder.Property(a => a.digitalreturnCode).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
            builder.Property(a => a.digitalreturnMessage).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length2000);
            builder.Property(a => a.digitalStatus).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
            builder.Property(a => a.digitalrequestTime).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
            builder.Property(a => a.digitalresponseTime).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);

            builder.Property(a => a.entitygmtTime).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
            builder.Property(a => a.entityreturnCode).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
            builder.Property(a => a.entityreturnMessage).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length2000);
            builder.Property(a => a.entityStatus).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
            builder.Property(a => a.entityRMB).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
            builder.Property(a => a.entityrequestTime).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
            builder.Property(a => a.entityresponseTime).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);

            builder.Property(a => a.CheckMemo).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length2000);
            builder.Property(a => a.CheckuserId).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
            builder.Property(a => a.CheckuserName).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
            builder.Property(a => a.CheckStatus).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
            builder.Property(a => a.CheckTime).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
            builder.Property(a => a.CheckuserTrueName).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length2000);

            builder.Property(a => a.isDigityPay).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);

            builder.Property(a => a.Id).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);


            builder.Property(a => a.TenantId).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
			builder.Property(a => a.CreationTime).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
			builder.Property(a => a.CreatorUserId).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
			builder.Property(a => a.LastModifierUserId).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
			builder.Property(a => a.LastModificationTime).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
			builder.Property(a => a.IsDeleted).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
			builder.Property(a => a.DeleterUserId).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);
			builder.Property(a => a.DeletionTime).HasMaxLength(YoYoAbpefCoreConsts.EntityLengthNames.Length64);


        }
    }
}


